import { Request } from 'express';

export interface IUser {
  id: number;
  userId: string;
  userName: string;
  employeeId: string;
  userPassword: string;
  userPhotoPath: string;
  userRoles: number[];
  userEmail: string;
  userCellphone: string;
  userGender: string;
  userBirthday: string;
  userDepartment: string;
  userIdentity: string;
  userToken: string;
};

export interface IGetUserByIdReq extends Request<{ id: IUser['id'] }> { }
export interface IGetUserByEmployeeIdReq extends Request<{ employeeId: IUser['employeeId'] }> { }
export interface IGetUserByTokenReq extends Request<{ userToken: IUser['userToken'] }> { }
export interface IAddUserReq extends Request { }
export interface IUpdateUserReq extends Request<{ id: IUser['id'] }, any> { }
export interface IDeleteUserReq extends Request<{ id: IUser['id'] }> { }